#!/usr/bin/env python
# -*-coding:utf-8-*-
# creat by har2py
# Date 2021-10-15 16:40:06

import requests
requests.packages.urllib3.disable_warnings()

sess = requests.session()
headers = {'Host': 'market-test.tangees.com',
           'Connection': 'keep-alive', 'Content-Length': '47', 'Accept': 'application/json', 'Origin': 'https://market-test.tangees.com', 'Sec-Fetch-Dest': 'empty', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', 'Content-Type': 'application/json;charset=UTF-8', 'Sec-Fetch-Site': 'same-origin', 'Sec-Fetch-Mode': 'cors', 'Referer': 'https://market-test.tangees.com/marketing-center/marketing-activity/association-punch-card',
           'Accept-Encoding': 'gzip, deflate, br',
           'Accept-Language': 'zh-CN,zh;q=0.9',
           'Cookie': 'accountCenterSessionId=.eJw9jkFLxDAQhf9Lzh6SSZNJ9iwsBdtFXJF6Kclkxqq7FbZVoeJ_N-zB4_d47_H9qM-FL-NrUTvljY-2eGCHINqht5kLlKhu1CgXXia1k3RauOK1D4lEuESxxhDlJKZY70EoOdGxFB-ChEgcyVsKGpOgZIoIlihJINNUTDXJFmM2oAWBTURGB9AUdCmxEcjeGvQuRCPO6QCoEwbbBKxeM3MZl_TF4_oxlvwvuFwFu9sX2x37t2Hr1udz23QPWh_2rbs7TucO2nXY3rd-_6j7bdgOT_dNPaQpzTOf6vibs_r9A5VwVfU.FErPSA.h6IVIyY6V-0xJ1K3yE53JK6zBng'}
url = "https://market-test.tangees.com/test/web/activities/group-sign/page"

sess.headers = headers

params = None
jsondata = {'pageNum': 1, 'activityName': '12', 'pageSize': 10}

postdata = None


resp = sess.post(url, verify=False, json=jsondata, data=postdata, params=params)
print(resp.text)
